package com.suyafei.service;

import com.suyafei.request.UserLoginRequest;
import com.suyafei.request.UserRegisterRequest;
import com.suyafei.util.JsonData;
import com.suyafei.vo.UserVO;

/**
 * @program: suyafei-1024-shop
 * @description
 * @author: luffy
 * @create: 2021-02-25 21:56
 */
public interface UserService {

    /**
     * 用户注册
     * @param request
     * @return
     */
    JsonData register(UserRegisterRequest request);

    /**
     * 用户登录
     * @param userLoginRequest
     * @return
     */
    JsonData login(UserLoginRequest userLoginRequest);

    /**
     * 查询用户详情
     * @return
     */
    UserVO findUserDetail();
}
